package com.ruoyi.camp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 服务类型管理对象 c_facility_type
 * 
 * @author ruoyi
 * @date 2024-10-29
 */
public class CFacilityType
{
    private static final long serialVersionUID = 1L;

    /** 设施类型ID；UUID */
    private String ftId;

    /** 设施类型名称； */
    @Excel(name = "设施类型名称；")
    private String ftName;

    /** 状态； */
    @Excel(name = "状态；")
    private String state;

    private List<CFacility> facilities;

    public CFacilityType() {
    }

    public CFacilityType(String ftId) {
        this.ftId = ftId;
    }

    public CFacilityType(String ftId, String ftName, String state) {
        this.ftId = ftId;
        this.ftName = ftName;
        this.state = state;
    }

    public CFacilityType(String ftId, String ftName, String state, List<CFacility> facilities) {
        this.ftId = ftId;
        this.ftName = ftName;
        this.state = state;
        this.facilities = facilities;
    }

    public void setFtId(String ftId)
    {
        this.ftId = ftId;
    }

    public String getFtId() 
    {
        return ftId;
    }
    public void setFtName(String ftName) 
    {
        this.ftName = ftName;
    }

    public String getFtName() 
    {
        return ftName;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }

    public List<CFacility> getFacilities() {
        return facilities;
    }

    public void setFacilities(List<CFacility> facilities) {
        this.facilities = facilities;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ftId", getFtId())
            .append("ftName", getFtName())
            .append("state", getState())
            .toString();
    }
}
